// 继承
// 多继承时候不能有 重复但是类型不同的属性

interface Shape {
  color: string;
}
interface Length {
  length: number;
}
interface Square extends Length, Shape {
  width: number;
  test: number;
}
interface Square2 extends Length, Shape {
  width: number;
  test: string;
}

// 下面这个报错
// interface Test extends Shape, Shape2 {
//   testing: number;
// }
